package demo2.demo2.service.impl;

import demo2.demo2.service.LoginService;
import demo2.demo2.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service(value="loginService")
public class LoginServiceImpl implements LoginService {

    @Autowired
    public MenuService menuService ;

    @Override
    public void login() {
        menuService.getMenu();
        System.out.println("------------------>>>>>>> -------   >");
        System.out.println("------------------>>>>>>> -------   >");
        System.out.println("------------------>>>>>>> -------   >");
    }
}
